﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A39 RID: 2617
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LENKFNKPHDK : IMessage<LENKFNKPHDK>, IMessage, IEquatable<LENKFNKPHDK>, IDeepCloneable<LENKFNKPHDK>, IBufferMessage
	{
		// Token: 0x17002107 RID: 8455
		// (get) Token: 0x0600752D RID: 29997 RVA: 0x00138B60 File Offset: 0x00136D60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LENKFNKPHDK> Parser
		{
			get
			{
				return LENKFNKPHDK._parser;
			}
		}

		// Token: 0x17002108 RID: 8456
		// (get) Token: 0x0600752E RID: 29998 RVA: 0x00138B67 File Offset: 0x00136D67
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LENKFNKPHDKReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002109 RID: 8457
		// (get) Token: 0x0600752F RID: 29999 RVA: 0x00138B79 File Offset: 0x00136D79
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LENKFNKPHDK.Descriptor;
			}
		}

		// Token: 0x06007530 RID: 30000 RVA: 0x00138B80 File Offset: 0x00136D80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LENKFNKPHDK()
		{
		}

		// Token: 0x06007531 RID: 30001 RVA: 0x00138B88 File Offset: 0x00136D88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LENKFNKPHDK(LENKFNKPHDK other) : this()
		{
			this.cardId_ = other.cardId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007532 RID: 30002 RVA: 0x00138BAD File Offset: 0x00136DAD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LENKFNKPHDK Clone()
		{
			return new LENKFNKPHDK(this);
		}

		// Token: 0x1700210A RID: 8458
		// (get) Token: 0x06007533 RID: 30003 RVA: 0x00138BB5 File Offset: 0x00136DB5
		// (set) Token: 0x06007534 RID: 30004 RVA: 0x00138BBD File Offset: 0x00136DBD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CardId
		{
			get
			{
				return this.cardId_;
			}
			set
			{
				this.cardId_ = value;
			}
		}

		// Token: 0x06007535 RID: 30005 RVA: 0x00138BC6 File Offset: 0x00136DC6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LENKFNKPHDK);
		}

		// Token: 0x06007536 RID: 30006 RVA: 0x00138BD4 File Offset: 0x00136DD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LENKFNKPHDK other)
		{
			return other != null && (other == this || (this.CardId == other.CardId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007537 RID: 30007 RVA: 0x00138C04 File Offset: 0x00136E04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.CardId != 0U)
			{
				num ^= this.CardId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007538 RID: 30008 RVA: 0x00138C43 File Offset: 0x00136E43
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007539 RID: 30009 RVA: 0x00138C4B File Offset: 0x00136E4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600753A RID: 30010 RVA: 0x00138C54 File Offset: 0x00136E54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.CardId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.CardId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600753B RID: 30011 RVA: 0x00138C88 File Offset: 0x00136E88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.CardId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CardId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600753C RID: 30012 RVA: 0x00138CC6 File Offset: 0x00136EC6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LENKFNKPHDK other)
		{
			if (other == null)
			{
				return;
			}
			if (other.CardId != 0U)
			{
				this.CardId = other.CardId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600753D RID: 30013 RVA: 0x00138CF7 File Offset: 0x00136EF7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600753E RID: 30014 RVA: 0x00138D00 File Offset: 0x00136F00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.CardId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002CA9 RID: 11433
		private static readonly MessageParser<LENKFNKPHDK> _parser = new MessageParser<LENKFNKPHDK>(() => new LENKFNKPHDK());

		// Token: 0x04002CAA RID: 11434
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002CAB RID: 11435
		public const int CardIdFieldNumber = 1;

		// Token: 0x04002CAC RID: 11436
		private uint cardId_;
	}
}
